#
# demo = "hogwarts is a {}"
# demo_res = demo.format("school")
# #demo是原始变量
# print(demo)
# #demo_res是替换过后的变量内容
# print(demo_res)
# name = "AD"
# print(f"my name is {name}")
# #join的使用
# a= ["a","p","p"]
# print("|".join(a))

#split
#replace
#strip

#分支判断
import random
computer_number = random.randint(1,100)
while  True:
    people_num = int(input("请输入"))
    if computer_number>people_num:
        print("大一点")
    elif computer_number < people_num:
        print("小一点")
    else:
        print("猜对啦")
        break
